<template>
	<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" id="DaoHang-001">

		<el-menu-item index="1" class="DaoHang-003">
			<router-link to="/demo1"><i class="el-icon-help"></i>广场</router-link>
		</el-menu-item>


		<el-menu-item index="2"  class="DaoHang-003">
			<router-link to="/demo2"><i class="el-icon-connection"></i>朋友</router-link>
		</el-menu-item>


		<el-menu-item index="3"  class="DaoHang-003">
			<router-link to="/demo3"><i class="el-icon-guide"></i>互动</router-link>
		</el-menu-item>


		<el-menu-item index="4"  class="DaoHang-003">
			<router-link to="/demo4"><i class="el-icon-user"></i>我</router-link>
		</el-menu-item>
	</el-menu>
</template>
<style>
	#DaoHang-001 {
		width: 100%;
		position: fixed;
		bottom: 0;
		left: 0;
		/* background-color: #EEEEEE; */
	}
	.DaoHang-003{
		width: 25%;
		text-align: center;
	}
</style>
<script>
	export default {
		data() {
			return {
				activeIndex: '1',
				activeIndex2: '1'
			};
		},
		methods: {
			handleSelect(key, keyPath) {
				console.log(key, keyPath);
			}
		}
	}
</script>
